package com.syx.migration.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.syx.migration.domain.base.TenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * 书架对象 syx_library_bookself
 *
 * @author Syx
 * @date 2024-03-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("syx_library_bookself")
public class SyxLibraryBookself extends TenantEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 书架id
     */
    @TableId(value = "bookself_id")
    private Long bookselfId;

    /**
     * 藏书室id
     */
    private Long roomId;

    /**
     * 书架编号
     */
    private String bookselfCode;

    /**
     * 书架名称
     */
    private String bookselfName;

    /**
     * 书架面数
     */
    private Integer bookselfFace;

    /**
     * 书架列数
     */
    private Integer bookselfCol;

    /**
     * 书架层数
     */
    private Integer bookselfTier;

    /**
     * 书架状态（0正常，1停用）
     */
    private String status;

    /**
     * 备注
     */
    private String remark;


}
